﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace WorkingTitleDungeonCrawler
{
    class Projectile : MovingGameObj
    {
        // Properties
        public float Power { get; set; }

        // Methods
        public override void Update(GameTime gameTime)
        {
            Power -= 1.1F;
           base.Update(gameTime);
        }

        public override void Draw(SpriteBatch spritebatch, Vector2 DrawOffset)
        {

            spritebatch.Draw(Gfx, Position - DrawOffset + new Vector2(400, 300), null,
                 Color.White, Angle, new Vector2(Gfx.Height / 2, Gfx.Width / 2), 1.0F,
                 SpriteEffects.None, 0);

        }

        
    }
}
